
package cn.edu.scau.cmi.hombio.dao;

import cn.edu.scau.cmi.hombio.domain.Except;

import java.util.Calendar;
import java.util.Set;

import org.skyway.spring.util.dao.JpaDao;

import org.springframework.dao.DataAccessException;

/**
 * DAO to manage Except entities.
 * 
 */
public interface ExceptDAO extends JpaDao<Except> {

	/**
	 * JPQL Query - findExceptByBarcode
	 *
	 */
	public Set<Except> findExceptByBarcode(String barcode) throws DataAccessException;

	/**
	 * JPQL Query - findExceptByBarcode
	 *
	 */
	public Set<Except> findExceptByBarcode(String barcode, int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findExceptById
	 *
	 */
	public Except findExceptById(Integer id) throws DataAccessException;

	/**
	 * JPQL Query - findExceptById
	 *
	 */
	public Except findExceptById(Integer id, int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findExceptByReportTime
	 *
	 */
	public Set<Except> findExceptByReportTime(java.util.Calendar reportTime) throws DataAccessException;

	/**
	 * JPQL Query - findExceptByReportTime
	 *
	 */
	public Set<Except> findExceptByReportTime(Calendar reportTime, int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findExceptByMemo
	 *
	 */
	public Set<Except> findExceptByMemo(String memo) throws DataAccessException;

	/**
	 * JPQL Query - findExceptByMemo
	 *
	 */
	public Set<Except> findExceptByMemo(String memo, int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findExceptByPrimaryKey
	 *
	 */
	public Except findExceptByPrimaryKey(Integer id_1) throws DataAccessException;

	/**
	 * JPQL Query - findExceptByPrimaryKey
	 *
	 */
	public Except findExceptByPrimaryKey(Integer id_1, int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findExceptByBarcodeContaining
	 *
	 */
	public Set<Except> findExceptByBarcodeContaining(String barcode_1) throws DataAccessException;

	/**
	 * JPQL Query - findExceptByBarcodeContaining
	 *
	 */
	public Set<Except> findExceptByBarcodeContaining(String barcode_1, int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findExceptByMemoContaining
	 *
	 */
	public Set<Except> findExceptByMemoContaining(String memo_1) throws DataAccessException;

	/**
	 * JPQL Query - findExceptByMemoContaining
	 *
	 */
	public Set<Except> findExceptByMemoContaining(String memo_1, int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findAllExcepts
	 *
	 */
	public Set<Except> findAllExcepts() throws DataAccessException;

	/**
	 * JPQL Query - findAllExcepts
	 *
	 */
	public Set<Except> findAllExcepts(int startResult, int maxRows) throws DataAccessException;

}